#include <iostream>
#include <thread>

void foo() {
    std::cout << "[ foo ] Hello, foo." << std::endl;
}

int main(int argc, char *argv[]) {
    std::cout << "Hello, World." << std::endl;

    std::thread th(foo);
    th.join();

    return 0;
}
